package com.kedacom.demo.repository;

import java.util.List;

import com.kedacom.demo.domain.User;

/**
 * UserDao
 * @author luocanfeng
 * @date 2014-7-18
 */
public interface UserDao {

	public void save(User user);

	public User get(Integer id);

	public Integer getIdByEmail(String email);

	public void update(User user);

	public List<User> listAll();

}
